var settings = {
	db: 'apple',
	host: 'localhost',
};

var Db = require('mongodb').Db;
var Connection = require('mongodb').Connection;
var Server = require('mongodb').Server;

module.exports = new Db(settings.db, new Server(settings.host,Connection.DEFAULT_PORT), {safe:false} );